﻿namespace LearnMAUI2.Services;

//内容导航
public interface IContentNavigationService
{
    Task NavigateToAsync(string page);
    Task NavigateToAsync(string page, object parameter);
}
//注册页面键常量
public static class ContentNavigationConstant
{
    public const string TodayDetailPage = nameof(TodayDetailPage);
    public const string ResultPage = nameof(ResultPage);
    public const string DetailPage = nameof(DetailPage);
    public const string FavoriteDetailPage = nameof(FavoriteDetailPage);
}